home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19950329-19950528 / 000436_news@columbia.edu_Mon May 22 13:55:36 1995.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA11406
  2.   (5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Mon, 22 May 1995 09:56:19 -0400
  3. Received: by apakabar.cc.columbia.edu id AA27644
  4.   (5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Mon, 22 May 1995 09:55:46 -0400
  5. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  6. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  7. Newsgroups: comp.protocols.kermit.misc
  8. Subject: Re: making APPEND default LOG SESSION behaviour?
  9. Date: 22 May 1995 13:55:36 GMT
  10. Organization: Columbia University
  11. Lines: 24
  12. Message-Id: <3pq54o$qvl@apakabar.cc.columbia.edu>
  13. References: <3pio2h$7mm@gateway.dircsa.org.au>
  14. Nntp-Posting-Host: watsun.cc.columbia.edu
  15. Apparently-To: kermit.misc@watsun.cc.columbia.edu
  16.  
  17. In article <3pio2h$7mm@gateway.dircsa.org.au>,
  18. Arthur Marsh <arthur@gateway.dircsa.org.au> wrote:
  19. : I'm running C-Kermit 5A (190) under Unixware 1.1.2 and wonder
  20. : if there's either a command I could put in the .kermrc or even
  21. : a simple source code change that will make the default LOG SESSION
  22. : behaviour APPEND?
  23. No, sorry.  However, you can make a macro to use instead of
  24. "log session <filename> append", which also has the advantage of being
  25. shorter than the original LOG SESSION command.  For example:
  26.  
  27.   define ALOG -
  28.     if not def \%1 def \% ~/logs/session.log, -
  29.     log session \%1 append
  30.  
  31. So now "alog" by itself appends to your ~/logs/session.log file if
  32. there is one, or creates it if there isn't, and also allows you to
  33. specify a different file, as in "alog foo.log".
  34.  
  35. Maybe we'll add a command to make "new" or "append" the default action
  36. for logs (on a per-log basis) in a future release.  Thanks for the
  37. suggestion.
  38.  
  39. - Frank